﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PhotoCommentManagement.ascx.cs" Inherits="Admin_UserControls_PhotoCommentManagement" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<div class="title">
    <h5>
        QUẢN LÝ LỜI BÌNH&nbsp; ẢNH</h5>
</div>
<div class="table">
    <asp:Panel ID="Panel1" runat="server">
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" GridLines="None"
            AllowPaging="True" OnPreRender="RadGrid1_PreRender" OnItemCommand="RadGrid1_iTemcommand"
            AutoGenerateColumns="False" Skin="Office2007">
            <MasterTableView NoMasterRecordsText="Không có kết quả">
                <RowIndicatorColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="comment_id" DataType="System.Int32" HeaderText="CommentID"
                        UniqueName="comment_id" Visible="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridButtonColumn Text="Xem" UniqueName="Xem" CommandName="Xem"
                        ImageUrl="~/Files/images/view.gif" HeaderImageUrl="~/Files/images/view.gif">
                    </telerik:GridButtonColumn>
                    <telerik:GridBoundColumn DataField="username" HeaderText="Người viết" UniqueName="username">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="text" HeaderText="Nội dung" UniqueName="text">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="created_date" HeaderText="Ngày viết" UniqueName="created_date"
                        DataType="System.DateTime" DataFormatString="{0:dd/MM/yyyy}">
                    </telerik:GridBoundColumn>
                    <telerik:GridButtonColumn Text="Xóa" UniqueName="Xoa" CommandName="Xoa" ConfirmText="Bạn có chắc chắn muốn xóa?"
                        ImageUrl="~/Files/images/delete.gif" HeaderImageUrl="~/Files/images/delete.gif">
                    </telerik:GridButtonColumn>
                </Columns>
            </MasterTableView>
            <ClientSettings>
                <Selecting AllowRowSelect="True" />
            </ClientSettings>
        </telerik:RadGrid>
    </asp:Panel>
</div>